import React from 'react';
import { connect } from 'react-redux';
import './index.scss';

class EllipticalTitle extends React.PureComponent {
  render() {
    return (
      <div className="elliptical-title">
        <div className="elliptical-head">
          <span>{this.props.text || '标题'}</span>
        </div>
        <div className="elliptical-line">{}</div>
        <div className="elliptical-report">{this.props.report || ''}</div>
      </div>
    );
  }
}

function mapStateToProps(state) {
  return {
    ...state.webReducer
  };
}

export default connect(mapStateToProps)(EllipticalTitle);
